package com.lins.common.mp.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

/**
 * @author linsir
 * @title: BaseModel
 * @projectName lins
 * @description: TODO
 * @date 2021/12/9 22:28
 */
@Data
public class BaseModel extends CommonBaseModel{

        /** 租户编码*/
        @TableField(fill = FieldFill.INSERT)
        private String tenantCode ;


        /** 主键 */
        @TableId(value = "id", type = IdType.ASSIGN_ID)
        private Long id;
}
